package com.kgc.ubatnet.ubatnetuserservice.service;

import com.kgc.ubatnet.bean.PmsSkuInfo;
import com.kgc.ubatnet.service.SkuService;
import com.kgc.ubatnet.ubatnetuserservice.mapper.PmsSkuInfoMapper;
import org.apache.dubbo.config.annotation.Service;

import javax.annotation.Resource;

/**
 * @author shkstart
 * @create 2020-09-20 16:34
 */
@Service
public class SkuServiceImpl  implements SkuService {

    @Resource
    PmsSkuInfoMapper pmsSkuInfoMapper;
    @Override
    public PmsSkuInfo selectBySkuId(Long skuId) {
        PmsSkuInfo pmsSkuInfo = pmsSkuInfoMapper.selectByPrimaryKey(skuId);
        return pmsSkuInfo;
    }
}
